'''
Created on 27 oct. 2011

@author: jglouis
'''
class Ship(object):
    '''
    A space ship.
    '''
    def __init__(self, name, category):
        '''
        Constructor
        '''
        self.name = name
        self.category = category      
        
class Fleet(object):
    '''
    A collection of ships
    '''
    def __init__(self, *ships):
        self.ships = ships
        
        
if __name__ == '__main__':
    
    shipA = Ship("a","A")
    shipB = Ship("b","B")
    shipC = Ship("c","C")
    myFleet = Fleet(shipA, shipB, shipC)
    print type(myFleet.ships)
    
    
    